#-------------------------------------------------------------------------------
# makefile racine
#-------------------------------------------------------------------------------
include makefile.inc

all: client server

client: $(CLIENT_DIR)/$(BIN_DIR)/$(CLIENT_EXE)

server: $(SERVER_DIR)/$(BIN_DIR)/$(SERVER_EXE)

$(CLIENT_DIR)/$(BIN_DIR)/$(CLIENT_EXE):
	@cd $(CLIENT_DIR); $(MAKE) $(MFLAGS)

$(SERVER_DIR)/$(BIN_DIR)/$(SERVER_EXE):
	@cd $(SERVER_DIR); $(MAKE) $(MFLAGS)

clean:
	@echo "<clean>"
	@for d in $(SUBDIRS); do (cd $$d; $(MAKE) clean ); done
	@echo "</clean>"

